import 'package:my_app/modules/navigator/splash_page.dart';
import 'package:my_app/modules/navigator/tab_navigator.dart';
import 'package:my_app/modules/pages/home/db_demo_page.dart';
import 'package:my_app/modules/pages/home/detail_page.dart';
import 'package:my_app/modules/pages/login/login_code_page.dart';
import 'package:my_app/modules/pages/login/login_page.dart';

import '../../base/router/router_contract.dart';

part 'router_contract_page_ext.dart';

/// 路由协议
class RouterContractPage {
  static RouterContractPageImpl instance = RouterContractPageImpl();
}

Map<Type, bool> router = {
  /// 没参数
  TabNavigator: false,
  SplashPage: false,
  LoginPage: false,
  DBDemoPage: false,

  /// 带参数
  DetailPage: true,
  LoginCodePage: true,
};
